package org.niu.dp;

public class LTS {
    public int search (int[] nums, int target) {
        // write code here
        for(int i = 0;i < nums.length;i++){
            if(nums[i] == target){
                return i;
            }
        }
        return -1;
    }
}
